#ifndef __TOUCHABLE_SPRITE_H__
#define __TOUCHABLE_SPRITE_H__

#include <cocos2d.h>
using namespace cocos2d;

#include "gofgame/common/WeakRef.h"
#include "gofgame/common/cxx_0x.h"
using namespace gofgame::common;

namespace gofgame {
	namespace jumpdown {
		namespace sprite {
			class TouchableSprite : public CCSprite {
			public:
				virtual ~TouchableSprite();

				CCRect getPreviousFrameBoundingBox() const;
				void submitFrame();

			private:
				CCRect previousFrameBoundingBox;
				_support_weak_ref(TouchableSprite);
			};
		}
	}
}

#endif //__TOUCHABLE_SPRITE_H__
